#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<string.h>
int main()
{
	char str1[100003] = { 0 };
	char str2[100001] = { 0 };
	scanf("%s %s", str1,str2);
	int n = (str1[2]-'0') / 2 + 1;
	int count1 = 0;
	int count2 = 0;
	int count3 = 0;
	int l = strlen(str2);
	for (int i = 0; i < l; i++)
	{
		if (str2[i] == 'R')
		{
			count1++;
		}
		else
		{
			count2++;
		}
		if (count1 == n)
		{
			count3 = i+1;
			printf("kou!\n");
			break;
		}
	    else if (count2 == n)
		{
			count3 = i+1;
			printf("yukari!\n");
			break;
		}
		else
		{
			count3 = l;
			printf("to be continued.\n");
			break;
		}
	}
	printf("%d", count3);
	return 0;
}